Managing shipments based on data from a sensor-based automatic replenishment device

ABSTRACT

Techniques for selecting a delivery method based on sensor data of an automatic replenishment device (ARD) are described. In an example, a computer system is communicatively coupled with the ARD and receives the sensor data from the ARD. The sensor data is generated by a sensor of the ARD and indicates an amount of an item that is stored by the ARD. The computer system maintains, in a profile, a consumption rate based on the sensor data. The computer system determines that the amount of the item is less than a threshold amount based on the consumption rate and, based on this amount, identifies available delivery methods for a delivery of a replacement amount of the item. The computer system selects one of the delivery methods based on the consumption rate and causes the delivery of the replacement amount of the item based on the selected delivery method.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a Continuation of and claims priority to U.S.application Ser. No. 15/918,205, filed Mar. 12, 2018, and titled“MANAGING SHIPMENTS BASED ON DATA FROM A SENSOR-BASED AUTOMATICREPLENISHMENT DEVICE”, the content of which is herein incorporated inits entirety.

BACKGROUND

Automatic replenishment devices (ARDs) allow a user to receive updatesabout an item by associating the device with the item and identifying auser device (e.g., a mobile phone number). Over time, the ARD sendsalerts to the user device about measurements related to the item. Ifdeemed that the item should be replenished, the user may operate theuser device, access an online retailer, and order an additional amountof the item. Additionally, the online retailer may offer a subscriptionservice that can deliver additional amounts on a periodic basis. In bothcases, a back-end system of the online retailer allocates a deliveryresource to the user and schedules delivery of the additional itemamount.

However, the integration between measurements generated by the ARD andthe back-end system is typically limited. Generally, usage of deliveryresources across the user base is not optimized or managed based onmeasurement data of ARDs.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments in accordance with the present disclosure will bedescribed with reference to the drawings, in which:

FIG. 1 illustrates a workflow for selecting a delivery method based onsensor data of an automatic replenishment device (ARD), in accordancewith at least one embodiment;

FIG. 2 illustrates an example ARD with items placed within the ARD, inaccordance with at least one embodiment;

FIG. 3 illustrates an example ARD and items placed on the ARD, inaccordance with at least one embodiment;

FIG. 4 illustrates an example computer network architecture forselecting a delivery method based on sensor data of an ARD, inaccordance with at least one embodiment;

FIG. 5 illustrates an example end-to-end flow for selecting a deliverymethod based on sensor data of an ARD, in accordance with at least oneembodiment;

FIG. 6 illustrates an example detailed flow for selecting a deliverymethod based on sensor data of an ARD of a user, in accordance with atleast one embodiment;

FIG. 7 illustrates an example detailed flow for selecting a seconddelivery method after an initiation of a first delivery method based onsensor data of an ARD of a user indicating a change to the consumptionrate after the initiation, in accordance with at least one embodiment;and

FIG. 8 illustrates aspects of an example environment for implementingaspects in accordance with various embodiments.

DETAILED DESCRIPTION

Embodiments of the present disclosure are directed to, among otherthings, improving the integration between automatic replenishmentdevices (ARDs) and a back-end system of an online retailer and improvingthe management of delivery resources for delivering items associatedwith the ARDs. In an example, a user profile may be maintained on acomputer system of the back-end system for a user of an ARD. The userprofile may identify the ARD, the item that is stored by the ARD, and auser location. Over time, the computer system may receive, from the ARD,sensor data generated by a sensor of the ARD and indicating an amount ofthe item remaining at the ARD. The computer system may derive aconsumption rate from the sensor data and store that rate in the userprofile. The consumption rate may indicate a consumption of the amountof the item over time. Once the amount of the item is determined to beless than a threshold amount, the computer system may identify aplurality of available delivery methods for delivery of a replacementamount of the item to the user location. Based on the consumption rate(e.g., a low consumption), the computer system may select a deliverymethod from the plurality of available delivery methods (e.g., adecelerated delivery method) and cause the delivery of the replacementamount of the item to the user location based on the selected deliverymethod.

To illustrate, consider an example of a smart container storing coffeebeans. Sensor data indicating a fill level of the coffee beans may bereceived at time intervals. That data may be stored in the user profile.The user profile may also identify a default delivery method fordelivering new coffee beans to the user location (e.g., a five dayground delivery). The computer system may generate a consumption ratefrom the sensor data and may determine that, at a particular point intime, the fill level is less than ten percent (or some other thresholdamount). Accordingly, the computer system may predict from a slope ofthe consumption rate that the user will likely run out of coffee beanswithin three days. Because this prediction indicates a higher thanregular consumption, the computer system may detect that the defaultdelivery method (e.g., the five day ground delivery) may not besuitable. Instead, the computer system may select an accelerateddelivery method (e.g., a two day air delivery) for a delivery prior tothe predicted run out date (e.g., in three days) and may accordinglygenerate a purchase order and delivery instructions for the new coffeebeans. The back-end system may use the purchase order to obtain the newcoffee beans from a fulfillment center and the delivery instructions toallocate delivery resources (e.g., robotic manipulators to un-shelf,pack, and move the new coffee beans to a ground delivery vehicle, theground delivery vehicle to move the packed beans to an air deliveryvehicle, etc.). The delivery resources execute the instructions toperform the delivery.

Many technological improvements over existing systems are possible. Inan example, better integration between the ARD and the back-end systemmay be achieved. In particular, much of the processing may be offloadedfrom the ARD to the computer system of the back-end system. It may besufficient for the ARD to send its raw sensor data and an identifier ofthe ARD. The processing of this data, computation of a consumption rate,and maintenance of a user profile may be performed by the computersystem. This may translate into processing savings on the ARD, therebyallowing the ARD to lower its power consumption. Furthermore, theprocessing of the sensor data and maintenance of the user profile mayallow additional optimization of services available from the back-endsystem. In particular, generating a consumption rate and monitoring itsslope (e.g., how fast or slow the consumption is) may represent new datanot available in existing systems that involve ARDs. This new data maybe used to optimize the allocation and management of the deliveryresources. In the existing systems, in the case of a user-basedpurchase, the user may select a delivery method. Or, in the case of asubscription service, the existing systems may use a default deliverymethod. However, beyond the user selection or the default method, thesesystems do not optimize the delivery resources. In contrast here, thenew data may be used to select the optimal delivery method such as anaccelerated delivery method or a decelerated delivery method relative toa default delivery method, depending on the consumption rate. Theunderlying delivery resources may be then allocated to support theoptimal delivery method.

FIG. 1 illustrates a workflow 100 for selecting a delivery method basedon sensor data of an automatic replenishment device (ARD), in accordancewith at least one embodiment. In the illustrated example, a serviceprovider computer(s) 102, an ARD 104, and a user device 106 may beconfigured to communicate with one another via network(s) 107 (e.g., alocal area network, a wide area network, a cellular network, theInternet, or the like) via any suitable communications protocol. Theservice provider computer(s) 102 may receive sensor data 114 related toan item(s) 110 from the ARD 104 and may generate a consumption rate 120about the item(s) 110 for a user 108 of the ARD 104. That consumptionrate 120 is maintained in a user profile 130 and used to select adelivery method 140 to be carried, at least in part, by a deliveryresource 142. The delivery resource 142, such as a delivery vehicle, maydeliver a new amount of the item(s) 110 to a user location associatedwith the ARD 104 and/or the user 108. Although FIG. 1 illustrates a userprofile 130, the consumption rate 120 may be maintained in any type ofprofile, where this profile may be associated with a user. For instance,a device profile may store the consumption rate, where the deviceprofile corresponds to the ARD 104.

Prior to performance of the workflow 100, the user 108 may utilize anysuitable means for obtaining the item(s) 110 (e.g., coffee beans). Forexample, the user 108 may utilize the user device 106 to browse anelectronic marketplace for coffee beans. The electronic marketplace maybe hosted by the service provider computer(s) 102 and/or anothersuitable system (which may be generally referred to herein as a back-endsystem). Utilizing interfaces provided by the electronic marketplace,the user 108 may purchase the coffee beans which may then be deliveredto the user location. It should be appreciated that the item(s) 110 maybe obtained using other means (e.g., purchased from a retail store,received as a gift, etc.).

Once obtained, the item(s) 110 may be placed on/in the ARD 104. In someembodiments, the ARD 104 may include a container and a lid as depictedin FIG. 1 . The lid may include one or more time-of-flight (ToF)sensors. Once placed within the ARD 104 as depicted in FIG. 1 , theitem(s) 110 may fill the ARD 104 to some level (e.g., an actual filllevel 112).

At step 1 of the workflow 100, the user 108 may utilize the user device106 to perform a process for associating the item(s) 110 with the ARD104. For example, the user device 106 may be utilized to access anapplication and/or website (e.g., hosted by the service providercomputer(s) 102) to perform an association process. During theassociation process, the user device 106 (e.g., via the applicationand/or website) may be utilized to provide account information such as aname, a shipping address, billing information, or the like that theservice provider computer(s) 102 stores in the user profile 130.Alternatively, the user device 106 may be utilized to sign in to theuser profile 130 maintained by the service provider computer(s) 102 inorder to access previously stored account information. During theassociation process, the user device 106 may be utilized to associatethe item(s) 110 with the ARD 104. As a non-limiting example, anidentifier (e.g., a serial number, bar code, or other suitableidentifier) of the ARD 104 may be entered, scanned, and/or selected atthe user device 106. An item identifier may also be entered, scanned,and/or selected at the user device 106. The user device 106 may then beutilized to provide an indication that the item identifier of theitem(s) 110 is to be associated with the identifier of the ARD 104. Theassociation between the item(s) 110 and the ARD 104 may be stored by theservice provider computer(s) 102 (e.g., as part of the user profile 130associated with the user 108 and/or user device 106).

At step 2 of the workflow 100, sensor data 114 generated by one or moresensors of the ARD 104 may be transmitted by the ARD 104 to the serviceprovider computer(s) 102. The sensor data 114 may be collected and/or atany suitable time according to a predetermined schedule, at periodictime intervals, upon sensing user interaction with the item(s) 110and/or the ARD 104, upon user input entered at the ARD 104, uponinstruction from the service provider computer(s) 102 and/or the userdevice 106, or at any suitable time. The sensor data 114 may indicateproperty of the item (e.g., a distance measurement that corresponds tothe measure fill level 116 based on sensed time of flight data by anoptical sensor of the ARD 104, a weight based on a weight sensor of theARD 104, and/or other sensed data that may indicate the amount of theitem 110 stored by the ARD 104).

At step 3, the service provider computer(s) 102 may receive the sensordata 114. The sensor data 114 may include an identifier of the ARD 104and raw data that indicates the amount of item 110 stored by the ARD 104(e.g., the measured distance between the sensor and the item(s) 110 anda signal return rate (SRR) indicating some amount of light returned tothe sensor given a particular light emission, weight data, etc.). Theservice provider computer(s) 102 may host an automatic replenishmentengine 118.

At step 4, the automatic replenishment engine 118 may generate theconsumption rate 120 from the sensor data 114 received at step 3. Forexample, the automatic replenishment engine 118 may compute, each timethe sensor data 114 is received at a time interval, the amount of theitem 110 stored by the ARD 104. A curve of this amount over time may begenerated and may represent a consumption rate curve. The slope of thecurve may indicate a speed at which the item may be consumed and may beused to predict a run-out-day (e.g., an expected point in time when theARD 104 may no longer be storing any amount of the item 110 such as whenthe item 110 has been depleted from the ARD 104). A change in the slope(e.g., an increase) may indicate a change to (e.g., an increase in) theconsumption. Based on the sensor data 114, the automatic replenishmentengine 118 may also determine that the amount of the item 110 may bebelow a replenishment threshold 116 (e.g., the fill level may be lessthan ten percent of the total storage capacity of the ARD 104, theweight of the amount of the item 110 is less than ten percent of theoriginal weight stored by the ARD 104, etc.) based on the amount beingless than the replenishment threshold 116, the automatic replenishmentengine 118 may identify the delivery methods available for a delivery ofa replacement amount of the item 110 to the user location. Each of thesemethods may be associated with a set of delivery resources that, whenused, would result in a delivery of the replacement amount to the userlocation by a certain time frame. Information about the availabledelivery methods may be stored in the user profile 130 in associationwith the item 110 or may be searched from a remote database. Theautomatic replenishment engine 118 may select the optimal deliverymethod from the available delivery methods. Multiple factors may be usedfor the selection. For example, one factor may relate to timing. Inparticular, the selected method may have a time frame occurring prior tothe run-out-date such that the replacement amount may be delivered tothe user location before the ARD 104 is out of the item. Another factormay relate to cost. In particular, if multiple delivery methods wouldresult in the delivery prior to the run-out-date, the automaticreplenishment engine 118 may select the most cost effective one. Oncethe most optimal delivery method is selected (e.g., the method that bestmatches the different selection factors), the automatic replenishmentengine 118 may generate a purchase order for the replacement amount ofthe item 110 and delivery instructions. The delivery instructions mayidentify the selected delivery method and may be sent to a deliverymanagement system (e.g., one hosted by the service provider computer(s)102). The delivery management system may accordingly select and schedulethe delivery resource(s) 142 for the delivery of the replacement amount.

At step 5, the service provider computer(s) 102 may send a deliverynotification 116 to the user device via the network(s) 107. For example,the service provider computer(s) 102 may inform the user 108 of aninitiation of the delivery and may identify the selected deliverymethod. The delivery notification 116 may also provide an option to theuser to accept and/or cancel the delivery.

FIG. 2 illustrates an example ARD 200 with items placed within the ARD,in accordance with at least one embodiment. The ARD 200 is an example ofthe ARD 104 of FIG. 1 and may include an ARD lid 202, and an ARDcontainer 204. One or more item(s) 206 (e.g., coffee beans) may bestored within the ARD container 204. FIG. 2 also includes visualrepresentations for a current level 208 of the item(s) 206 and athreshold level 210. It should be noted that although the ARD 200 ofFIG. 2 includes visual representations of a current level 208 of itemand a threshold level 210, these depictions are for clarification ofaspects of the embodiments described herein. For example, a currentlevel 208 of item may be determined by service provider computer(s) 102of FIG. 1 based on sensor data obtained by sensor(s) 212 and maintainedin a user profile that is generated and stored by the service providercomputer(s) 102. As described herein, the current level 208 may bedetermined by monitoring the consumption rate that is derived from thesensor data obtained by the sensor(s) 212. The threshold level 210 maybe stored and associated with the user profile maintained by the serviceprovider computer(s) 102. The threshold level 210 may be defined for theitem(s) 206 based on the type or category of the items or by the user.

It should be noted that the ARD 200 of FIG. 2 represents a containerwhich may be of any shape, depth, or size, in which item(s) 206 areplaced within. In embodiments, the ARD 200 may include one or moresensor(s) 212 that may be configured to determine a distance of theitem(s) 206 that are currently situated within the ARD container 204 ofthe ARD 200 (i.e., capture or obtain distance measurements between theone or more sensor(s) 212 and the item(s) 206). The sensor(s) 212 mayinclude a time of flight sensor (e.g., a time of flight camera, a timeof flight transmitter and receiver combination, etc.) that is configuredto determine/detect a distance/amount of item(s) 206 placed in the ARDcontainer 204 of the ARD 200 based at least in part on the time offlight for a signal to be emitted from the one or more sensor(s) 212 toa current level 208 of the item(s) 206 or to a surface area of theitem(s) 206. In accordance with at least one embodiment, the sensor datacollected by the one or more sensor(s) 212 may include distancemeasurements identifying a distance between the item(s) 206 and one ormore sensor(s) 212. The sensor data may include the raw data that wasobtained by the sensor(s) 212 and/or the sensor data may include valuesthat represent a conversion from the raw data to any suitable formatand/or unit of measurement.

The sensor data may indicate a current distance, amount, and/or volumeof the item(s) 206 situated within the ARD container 204. For example,the sensor data may indicate a current distance (e.g., 140 mm, 5.5inches, etc.) between the one or more sensor(s) 212 and the item(s) 206.The sensor data may indicate a current volume of the item(s) (e.g.,57.75 cubic inches, 39.23 cubic inches, etc.) and/or an item number orquantity that indicates a number or quantity of the item(s) 206 situatedwithin the ARD container 204 of ARD 200. The ARD 200 and sensor(s) 212may be configured to utilize any suitable time of flight signaltechnology between the sensor(s) 212 and the item(s) 206. Inembodiments, the sensor data may include or be accompanied with an itemID, an ARD ID, or an item tag ID. Although the ARD 200 of FIG. 2includes the sensor(s) 212 within or on a surface of the ARD lid 202,the sensor(s) 212 may be placed on one or more interior surfaces of theARD container 204. In at least one embodiment, the ARD lid 202 may beconfigured to be placed on any suitable container (including, forinstance, a container of another device such as a coffee grinder forgrinding the coffee beans).

Time of flight signal technology can include any electronic signaltechnology that can determine the elapsed time period between atransmission of a signal from a source and a return of the signal, or atleast a portion thereof, back to the source. Other configurations suchas a signal source and signal detector may also be utilized to determinetime of flight and distance between the sensor(s) 212 and item(s) 206(e.g., current level of item 208) utilizing a source/detector ortransmitter/receiver. In embodiments, the service provider computers maybe configured to determine a distance from the sensor(s) 212 and item(s)206 (e.g., current level of item 208) using the sensor data obtained bythe sensor(s) 212.

For example, the elapsed time period between the transmission of asignal from a source to detection of the signal (e.g., from thesensor(s) 212), or at least a portion thereof, at a detector orreceiver, along with the known speed of the signal (e.g., the speed oflight) may be utilized to determine the distance between the source ofthe signal (e.g., sensor(s) 212) and the item(s) 206. The ARD 200 may beconfigured to transmit the sensor data obtained by sensor(s) 212 to aremote computing device separate from the ARD 200 (e.g., the serviceprovider computer(s) 102 of FIG. 1 , a cloud-based server/service,etc.). In some embodiments, the remote computing device may beconfigured to utilize the sensor data to calculate the distance betweenthe sensor(s) 212 and the current level of item 208 and correlate thedistance to a volume, amount, and/or quantity of the item(s) 206 left inthe ARD container 204. The sensor data may be used to determine theconsumption data or consumption rate of item(s) 206 and in embodimentsreorder the item(s) 206 upon the amount of the item being equal to orless than the threshold level 210. The sensor data may be adjusted orcorrected for any sensor drift and/or any inaccuracy of the measurementsdue to the type of the sensors 212 (e.g., for transmissivity when theitem(s) 206 may not have a particular light transmissivity property).

FIG. 3 illustrates an example ARD 300 and items placed on the ARD 300,in accordance with at least one embodiment. The ARD 300 may be anexample of the ARD 104 from FIG. 1 . As illustrated, the ARD 300 whichmay have a top surface 302, a side surface 304, and a bottom surface306. One or more items 308 (e.g., toilette papers) may be placed on thetop surface 302 of the ARD 300. The bottom surface 306 may be in contactwith a flat or substantially flat surface, such as a counter, table, orshelf. It should be noted that although the ARD 300 of FIG. 3 representsa shelf which may be of any shape, depth, or size, the ARD 300 may be amat or pad in which items 308 are placed thereon. In embodiments, theARD 300 may include one or more sensor(s) 310. The sensors 310 may beconfigured to determine a weight of the items 308 that are currentlyplaced on the top surface 302 of the ARD 300 (e.g., capture or obtainweight measurements of the items 308). The sensors 310 may include aweight sensor (e.g., a load sensor, a strain gauge on a load cell, etc.)that is configured to determine/detect a weight/mass of items 308 placedon the top surface 302 of the ARD 300. In accordance with at least oneembodiment, the weight of the items 308 (e.g., sensor data, weightmeasurements, or property measurements) may include the raw data thatwas obtained by the sensors 310 and ARD 300 that represents a currentweight/mass of the items 308 that are situated on the top surface 302 ofARD 300. The weight measurements may indicate a current weight/mass ofthe items 308, item volume data that indicates a current volume of theitems 308, and/or item number/quantity data that indicates a number orquantity of the items 308 situated on the reorder device 300. Inembodiments, the sensor data may include or be accompanied with an itemID, an ARD ID, or an item tag ID. Further description of the ARD 300 isavailable in U.S. patent application Ser. No. 15/696,040 filed Sep. 5,2017 entitled “SENSOR DATA-BASED REORDERING OF ITEMS” of which the fulldisclosure is incorporated herein by reference.

As described herein, the ARD 300 may be configured to transmit, viaavailable networks, the weight measurements or other data captured bysensors 310 about items 308 to a service provider computer implementingan automatic replenishment engine. In accordance with at least oneembodiment, the weight measurements may be utilized by the serviceprovider computers to determine a consumption rate of a user associatedwith ARD 300 of the items 308. The consumption rate may be utilized toorder a replacement amount of the items 208 (e.g., additional rolls ofthe toilette paper) and to select an optimal delivery method.

FIG. 4 illustrates an example computer network architecture 400 forselecting a delivery method based on sensor data of an ARD, inaccordance with at least one embodiment. As illustrated, the computernetwork architecture 400 may include one or more service providercomputers 401 (e.g., the service provider computer(s) 102 of FIG. 1 ),one or more user devices 402 (e.g., the user device 106 of FIG. 1 ),and/or an ARD 450 (e.g., the ARD 104 of FIG. 1 ) connected via one ormore networks 404. One or more users 406 (e.g., customers, users,consumers, etc.,) may utilize user computing devices 402(1)-(N)(collectively, the user devices 402) to access application 408 (e.g., abrowser application, a shopping application, etc.) or a user interface(UI) accessible through the application 408. In embodiments, the userdevices 402 may include one or more components for enabling the user(s)406 to interact with the application 408.

The user devices 402 may include at least one memory 410 and one or moreprocessing units or processor(s) 412. The memory 410 may store programinstructions that are loadable and executable on the processor(s) 412,as well as data generated during the execution of these programs.Depending on the configuration and type of the user devices 402, thememory 410 may be volatile (such as random access memory (RAM)) and/ornon-volatile (such as read-only memory (ROM), flash memory, etc.). Theuser devices 402 may also include additional removable storage and/ornon-removable storage including, but not limited to, magnetic storage,optical disks, and/or tape storage. The disk drives and their associatednon-transitory computer-readable media may provide non-volatile storageof computer-readable instructions, data structures, program modules, andother data for the user devices 402. In some implementations, the memory410 may include multiple different types of memory, such as staticrandom access memory (SRAM), dynamic random access memory (DRAM), orROM.

Turning to the contents of the memory 410 in more detail, the memory 410may include an operating system and one or more application programs orservices for implementing the features disclosed herein. Additionally,the memory 410 may include one or more modules for implementing thefeatures described herein including the automatic replenishment module414.

The architecture 400 may also include one or more service providercomputers 401 that may, in some examples, provide computing resourcessuch as, but not limited to, client entities, low latency data storage,durable data store, data access, management, virtualization, hostedcomputing environment or “cloud-based” solutions, electronic contentperformance management, media streaming services, content generation,etc. The service provider computers 401 may implement or be an exampleof the service provider computer(s) described herein. The one or moreservice provider computers 401 may also be operable to provide sitehosting, media streaming services, computer application development,and/or implementation platforms, combinations of the foregoing, or thelike to the one or more users 406 via user devices 402.

In some examples, the networks 404 may include any one or a combinationof many different types of networks, such as cable networks, theInternet, wireless networks, cellular networks, and other private and/orpublic networks. While the illustrated examples represent the users 406communicating with the service provider computers 401 over the networks404, the described techniques may equally apply in instances where theusers 406 interact with the one or more service provider computers 401via the one or more user devices 402 over a landline phone, via a kiosk,or in any other manner. It is also noted that the described techniquesmay apply in other client/server arrangements (e.g., set-top boxes,etc.), as well as in non-client/server arrangements (e.g., locallystored applications, peer-to-peer arrangements, etc.).

The one or more service provider computers 401 may be any type ofcomputing devices such as, but not limited to, a mobile phone, a smartphone, a personal digital assistant (PDA), a laptop computer, a desktopcomputer, a server computer, a thin-client device, a tablet PC, etc.Additionally, it should be noted that in some embodiments, the one ormore service provider computers 401 may be executed by one or morevirtual machines implemented in a hosted computing environment. Thehosted computing environment may include one or more rapidly provisionedand released computing resources, which computing resources may includecomputing, networking, and/or storage devices. A hosted computingenvironment may also be referred to as a cloud computing environment ordistributed computing environment. In some examples, the one or moreservice provider computers 401 may be in communication with the userdevices 402 and/or the ARD 450 via the networks 404, or via othernetwork connections. The one or more service provider computers 401 mayinclude one or more servers, perhaps arranged in a cluster or asindividual servers not associated with one another.

In one illustrative configuration, the one or more service providercomputers 401 may include at least one memory 420 and one or moreprocessing units or processor(s) 422. The processor(s) 422 may beimplemented as appropriate in hardware, computer-executableinstructions, firmware, or combination thereof. Computer-executableinstruction or firmware implementations of the processor(s) 422 mayinclude computer-executable or machine-executable instructions writtenin any suitable programming language to perform the various functionsdescribed when executed by a hardware computing device, such as aprocessor. The memory 420 may store program instructions that areloadable and executable on the processor(s) 422, as well as datagenerated during the execution of these programs. Depending on theconfiguration and type of the one or more service provider computers401, the memory 420 may be volatile (such as RAM) and/or non-volatile(such as ROM, flash memory, etc.). The one or more service providercomputers 401 or servers may also include additional storage 424, whichmay include removable storage and/or non-removable storage. Theadditional storage 424 may include, but is not limited to, magneticstorage, optical disks and/or tape storage. The disk drives and theirassociated computer-readable media may provide non-volatile storage ofcomputer-readable instructions, data structures, program modules, andother data for the computing devices. In some implementations, thememory 420 may include multiple different types of memory, such as SRAM,DRAM, or ROM.

The memory 420, the additional storage 424, both removable andnon-removable, are all examples of non-transitory computer-readablestorage media. For example, computer-readable storage media may includevolatile or non-volatile, removable or non-removable media implementedin any method or technology for storage of information such ascomputer-readable instructions, data structures, program modules, orother data. The memory 420 and the additional storage 424 are allexamples of non-transitory computer storage media. Additional types ofnon-transitory computer storage media that may be present in the one ormore service provider computers 401 may include, but are not limited to,PRAM, SRAM, DRAM, RAM, ROM, EEPROM, flash memory or other memorytechnology, CD-ROM, DVD, or other optical storage, magnetic cassettes,magnetic tape, magnetic disk storage or other magnetic storage devices,or any other medium which can be used to store the desired informationand which can be accessed by the one or more service provider computers401. Combinations of any of the above should also be included within thescope of non-transitory computer-readable media.

The one or more service provider computers 401 may also containcommunication connection interface(s) 426 that allow the one or moreservice provider computers 401 to communicate with a data store, anothercomputing device or server, user terminals, and/or other devices on thenetworks 404. The one or more service provider computers 401 may alsoinclude I/O device(s) 428, such as a keyboard, a mouse, a pen, a voiceinput device, a touch input device, a display, speakers, a printer, etc.

Turning to the contents of the memory 420 in more detail, the memory 420may include an operating system 430, one or more data stores 432, and/orone or more application programs or services for implementing thefeatures disclosed herein including the automatic replenishment engine434 (e.g., an example of the automatic replenishment engine 118 of FIG.1 ). In accordance with at least one embodiment, the automaticreplenishment engine 434 may be configured to maintain a user profileassociated with a user, determine a current amount of an item stored bythe ARD 450, determine a consumption rate of the item, select an optimaldelivery for delivering a replacement amount of the item, or the like.

The architecture 400 also includes the ARD 450. As disclosed herein, theARD 450 may be configured, among other things, to utilize sensor(s) 460to obtain sensor data associated with items situated within or on theARD 450 (e.g., in a container or on a surface of the ARD 450 asdescribed in connection with FIGS. 2 and 3 ).

The ARD 450 (or a portion of the ARD 450 such as the ARD lid 202 of FIG.2 ) may include a housing 452 that may include components of ARD 450discussed further below. In embodiments, the housing 452 may be composedof any type of material (e.g., plastic, metal, etc.), and may serve toprevent the components of the ARD 450 from being damaged or interactingor otherwise contaminating the items placed within ARD 450.

The ARD 450 may include one or more power source(s) 454 that providepower to one or more components of the ARD 450. The power source(s) 454may include a battery, which may include a one-time use battery or arechargeable battery. However, the power source(s) 454 may rely on powerfrom another source providing alternating current (AC) power and may bea power inverter. For example, the ARD may be powered via a power cordthat is coupled to the ARD 450 and that is detachably connected to apower outlet, such as a wall outlet. In some embodiments, the ARD 450may include a power level detector that is configured to determine anddisplay a power level for the ARD 450 using alpha-numeric charactersthat indicate a current power level of a battery of the ARD 450 andpower source(s) 454. The power level may be transmitted by the ARD 450to a remote computing device (e.g., the service provider computer(s) 102of FIG. 1 ), which may track the power level of the power source(s) 454over time. In some embodiments, the ARD 450 and/or the remote computingdevice may provide a notification (e.g., to a client device notpictured) of the power level via any suitable means such an e-mailmessage, a text message, a mobile application, a website, etc.

The ARD 450 may include at least one memory (e.g., memory 464) and oneor more processing units (e.g., processor(s) 456). The processor(s) 456may be implemented as appropriate in hardware. Computer-executableinstructions, software or firmware implementations of the processor(s)456 may include computer-executable or machine-executable instructionswritten in any suitable programming language to perform the variousfunctions described.

The memory 464 may include more than one memory and may be distributedthroughout the ARD 450. The memory 464 may store program instructions(e.g., related to a measurement module 466 and/or a data communicationmodule 468) that are loadable and executable on the processor(s) 456, aswell as data generated during the execution of these programs. Dependingon the configuration and type of memory, the memory 464 may be volatile(such as random access memory (RAM)) and/or non-volatile (such asread-only memory (ROM), flash memory, or other memory). In someimplementations, the memory 464 may include multiple different types ofmemory, such as static random access memory (SRAM), dynamic randomaccess memory (DRAM), or ROM.

Turning to the contents of the memory 464 in more detail, the memory 464may include one or more application programs, modules or services forimplementing the features disclosed herein including measurement module466 and/or the data communication module 468. The measurement module 466may include instructions that, when executed by the processor(s) 456 maycause sensor(s) 460 of the ARD 450 to capture sensor data includingdistance measurements and/or weight measurements associated with theitems placed on, or within, the ARD 450. A distance measurement mayquantify a distance between the sensor(s) 460 and the item on/within theARD 450. The memory 464 may be configured to store the collected sensordata. In some embodiments, the measurement module 466 may be configuredto convert raw sensor data into any suitable format and/or unit. Themeasurement module 466 may be configured to provide sensor data and/orconverted sensor data to the data communications module 468.

In some embodiments, the data communication module 468 may includeinstructions that, when executed by the processor(s) 456, transmit andreceive data via communication connection(s) 458. The communicationconnection(s) 458 may include suitable communication interfaces forcommunicating via Bluetooth (Bluetooth Low Energy (BLE)), WiFi, acellular connection (e.g., 3G, 4G, LTE, etc.). The communicationconnection(s) 458 may be configured to transmit the data to a remotecomputing device (e.g., the service provider computer(s) 401) or relaydata to the remote computing device using a proxy device (e.g., asmartphone, a laptop, a desktop computer, or any suitable device capableof performing data transfers with the remote computing device). Thecommunication connection(s) 458 any may utilize known or widely usedcommunication protocols such as a wireless connection (WiFi network), awired connection to a network, cellular network, short-range ornear-field networks (e.g., Bluetooth), infrared signals, local areanetworks, wide area networks, the Internet, etc.

In at least one embodiment, the data communication module 468 may beconfigured to obtain sensor data from the measurement module 466 and/orthe memory 464. The data communication module 468 may be responsible fortransmitting such sensor data to a remote computing device (e.g., theservice provider computer(s) 102) according to any suitablecommunications protocol. The sensor data may be communicated in anymanner, such as via Bluetooth (Bluetooth Low Energy (BLE) may also beconsidered when using the term “Bluetooth”), WiFi, a cellular connection(e.g., 3G, 4G, LTE, etc.), and so on.

In at least one embodiment, the data communication module 468 may beconfigured to receive data via the communication connection(s) 458. Forexample, the data communication module 468 may be configured to receiveitem information (e.g., an item identifier, unit weight, materialconsistency, or any suitable attribute of an item) indicating an itemthat is placed on or within the ARD 450. In some embodiments, the iteminformation or other suitable information communicated to the datacommunication module 468 may include/indicate conversion algorithms forconverting raw sensor data into a particular format and/or unit. Instill further embodiments, the data communication module 468 may beconfigured to receive any suitable information for instructing themeasurement module 466 in a manner of collecting sensor data utilizingsensor(s) 460. By way of example, an instruction may be received by thedata communication module 468 and communicated to the measurement module466 that indicates that sensor data is to be collected according to aprovided schedule, at a particular periodic rate, or the like.Generally, any suitable data that is to be transmitted or received bythe ARD 450 may be processed by the data communication module 468 andprovided to any other module and/or component of the ARD 450.

The ARD 450 may include sensor(s) 460 such as a time of flight sensor,or other suitable sensors such as time of flight camera sensors, scalesensors, or infrared sensors that are configured to obtain or capturesensor data of items placed on and/or within the ARD 450. The time offlight sensors may include signal transmitters and receivers that areconfigured to determine an amount, quantity, and/or volume of an itemstored on and/or within the ARD 450 or calculate a distance from thesource of the signal to the receptor of the signal which can beconverted into an amount of the item stored on and/or within the ARD450.

The sensor(s) 460 may be configured to periodically obtain sensor dataregarding the items placed on or within the ARD 450 at predeterminedintervals, such as every day, every twelve hours, every six hours, everyhour, every fifteen minutes, and so on. In some embodiments, thesensor(s) 460 may determine/sense when an item is placed on or withinthe ARD 450, which may cause the sensor(s) 460 to obtain sensor dataassociated with the item(s). The sensor(s) 460 may also be instructed(e.g., by the measurement module 466) to obtain sensor data viainstructions initiated at a remote computing device (e.g., the serviceprovider computer(s) 102). The frequency of sensor data collectionperformed by the sensor(s) 460 may be adjusted over time, which may bebased on the rate of consumption of the items and/or the manner in whichthe ARD 450 is being powered. For instance, if the ARD 450 is beingpowered via a power cord and power outlet, the sensor data may beobtained more frequently (e.g., every hour, every fifteen minutes,etc.). However, if the ARD 450 is being powered using a battery, thesensor data may be collected less frequently to conserve battery life.

The ARD 450 may also include input/output (I/O) device(s) 462 and/orports, such as for enabling connection with a keyboard, a mouse, a pen,a voice input device, a touch input device, a display, speakers, aprinter, or other I/O device. The I/O device(s) 462 may be in anysuitable form to enable data to be provided to any suitable component ofthe ARD 450 and/or for presenting information (e.g., text, lights,sounds) at the ARD 450 (e.g., via speaker, a display, haptic feedback,etc.).

FIGS. 5-7 illustrate examples of flows for selecting a delivery methodbased on sensor data of an ARD. A computer system hosting an automaticreplenishment engine, such as the server provider computer(s) 401 ofFIG. 4 , may be configured to perform the illustrative flows in someembodiments. Instructions for performing the operations of theillustrative flows can be stored as computer-readable instructions on anon-transitory computer-readable medium of the computer system. Asstored, the instructions represent programmable modules that includecode or data executable by a processor(s) of the computer system. Theexecution of such instructions configures the computer system to performthe specific operations shown in the figures and described herein. Eachprogrammable module in combination with the processor represents a meansfor performing a respective operation(s). While the operations areillustrated in a particular order, it should be understood that noparticular order is necessary and that one or more operations may beomitted, skipped, and/or reordered. Further, some of the operations aresimilar between the flows. In the interest of brevity, the similaritiesare not repeated.

FIG. 5 illustrates an example end-to-end flow for selecting a deliverymethod based on sensor data of an ARD of a user, in accordance with atleast one embodiment. The example flow may start at operation 502, wherethe computer system may receive sensor data from the ARD. The sensordata may indicate an amount of an item that is stored by the ARD and maybe generated by one or more sensors of the ARD. In an example, thesensor data may include weight data generated by a weight sensor of theARD. The weight data may indicate a current weight of the amount of theitem. In another example, the sensor data may include distance datameasured by an optical sensor. The distance data may indicate a currentfill level of the amount of the item within a container of the ARD. Inboth examples, the sensor data may be raw data received by the computersystem in conjunction with an identifier(s) of the ARD (e.g., an ARDID), user profile (e.g., a user ID), and/or item (e.g., an item ID). Thesensor data and identifier(s) may be transmitted from the ARD to thecomputer system at time intervals, on demand, and/or upon a userselection.

At operation 504, the computer system may maintain, in a profileassociated with a user of the ARD (e.g., a user profile or a deviceprofile), a consumption rate based on the sensor data. In an example,the computer system may identify the profile based on the identifierreceived with the sensor data. The profile may store the sensor datareceived over time based on the transmissions from the ARD and mayassociate this stored data with the item. The profile may also store auser location associated with the ARD and/or the user. The computersystem may estimate the amount of the item stored by the ARD over timefrom the sensor data and may generate a curve that represents thisamount over time. For instance, the computer system may determine, fromthe sensor data, a measurable property of the item indicating the amountremaining in storage of the ARD (e.g., weight from weight data or filllevel from distance data) and may track this measurable property (e.g.,changes to the weight, changes to the fill level) over time. Thecomputer system may store the consumption rate as a curve in the profileand may associate this curve with the item (e.g., by tagging the curvewith the item ID).

At operation 506, the computer system may determine whether the amountof the item stored by the ARD is less than a threshold amount based onthe consumption rate. In an example, the profile may store the thresholdamount for the item. This threshold amount may be defined based on userinput or based on input of a provider of the ARD and/or the item. Thecomputer system may determine the current amount of the item availablefrom the ARD based on the latest received sensor data (or, similarly,based on the latest update to the consumption rate given the latestsensor data). The current amount may be determined as a function ofweight from weight data and/or volume (or, similarly, fill level) fromdistance data. The computer system may compare the current amount to thethreshold amount (e.g., a weight threshold and/or a fill levelthreshold). If smaller than the threshold amount, operation 508 may beperformed by which the computer system may initiate the replenishmentprocess. Otherwise, the computer system may loop back to operation 502to receive additional sensor data from the next transmission of the ARDand continuously update the consumption rate in the profile and trackthe consumption of the amount of the item stored by the ARD.

At operation 508, the computer system may identify a plurality ofavailable delivery methods for a delivery of a replacement amount of theitem. At this operation, the computer system may have determined thatthe amount of the item stored by the ARD is currently less than thethreshold amount and, thus, triggering the replenishment of the item.Information about the available delivery methods (e.g., identifiers ofthese methods, their delivery time frames, their costs, source locationper delivery method, etc.) may be stored in the profile or in a remotedatabase and the storage may be associated with the item ID. Thecomputer system may use the item ID to search for and identify thedelivery methods.

At operation 510, the computer system may select a delivery method fromthe plurality of available delivery methods based on the consumptionrate. In an example, the computer system may use multiple selectionfactors to select the optimal delivery method (e.g., the method out ofthe available ones that best matches the selection factors). Oneselection factor may relate to timing of the delivery of the replacementitem. For instance, the computer system may predict a run-out-date of anamount of the item stored by the ARD based on the slope of theconsumption rate's curve and the current estimated amount. The timingfactor may be used to filter out delivery methods that would deliver thereplacement amount in a time frame past the run-out-date. Anotherselection factor may relate to delivery cost. For instance, out of theremaining (not filtered out) delivery methods, the computer system mayselect the most cost effective delivery method (e.g., the method thatwould deliver the replacement amount before the run-out-date at theleast cost out of the remaining methods; the cost may be expressed alongone or more dimensions including an economic cost, a number andbandwidth of delivery resources that should be allocated to execute thedelivery method, and the like).

At operation 512, the computer system may cause the delivery of thereplacement amount of the item to the user location based on thedelivery method. In an example, the computer system may generate apurchase order for the replacement amount and delivery instructionsidentifying the selected delivery method, the item, and the applicabledelivery time frame. The purchase order may be used by a back-end systemto obtain the item from storage in a fulfilment facility. The deliveryinstructions may be used by the back-end system to allocate deliveryresources and schedule the delivery of the replacement amount from thefulfilment facility to the user location. In this way, the sensor datatransmitted by the ARD may be used by the computer system to generatenew data (e.g., the consumption rate) that is then used for theoptimization and management of the delivery resources for the deliveryof the replacement item. In addition, the computer system may identify auser device or an electronic address of the user from the profile. Thecomputer system may send a notification about an initiation of thedelivery to the user device and/or to the electronic address.

FIG. 6 illustrates an example detailed flow for selecting a deliverymethod based on sensor data of the ARD, in accordance with at least oneembodiment. In this example, a default delivery may be specified in theuser profile (or, similarly, in a device profile or any other type ofprofile) for the replacement amount of the item and may be used when theconsumption rate indicates a regular consumption. However, if theconsumption range indicates a deviation from the regular consumption, amore optimal delivery method is selected based on the actualconsumption.

The example flow may start at operation 602, where the computer systemmay determine that the consumption rate of item by the user (e.g., theconsumption rate of the amount of the item stored by the ARD) ispredictable with a confidence level. In an example, only when theconsumption rate is predicted with the confidence level may the computersystem optimize the delivery method. If the consumption rate isunpredictable (e.g., the confidence level is below the thresholdindicating that there is much fluctuation in the consumption rate), thecomputer system may forego the example flow of FIG. 6 .

Multiple confidence factors may be used to determine the confidencelevel. In an example, a confidence factor relates to the sensor data. Inparticular, if the sensor data can be accurately measured and indicatesa stable consumption rate (e.g., a curve with a uniform slope or with anumber of changes to the slope that is less than a threshold number),the computer system may determine that the consumption rate ispredictable at a high confidence level (e.g., one exceeding theconfidence threshold). In another example, a confidence factor mayrelate to historical consumption rate of the item or other items by theuser of the ARD. For example, the user profile may store historical dataabout past notifications about deliveries of replacement amounts of theitem (and, similarly of other items). Each of these notifications mayinclude an option to cancel or postpone the delivery. If the rate ofselecting that option is smaller than a selection threshold (e.g., lessthan five percent of the time), the computer system may determine thatthe consumption rate is predictable at a high confidence level. In yetanother example, a confidence factor may relate to the historicalconsumption rate of the item or the type of the item by other users. Forexample, the computer system may determine, from multiple user profiles,the selection rates of the option to cancel or postpone replacementdeliveries specifically to the item or to the type of the item. Theselection rates may be average to generate an average selection ratethat the computer system may compare to the selection threshold and,accordingly, determine whether the confidence level is high (e.g.,exceeds the selection threshold).

At this operation, the computer system may also generate the actualconsumption rate of the item by the user based on the sensor datareceived from the ARD specifically for the user, similarly to theestimation described in connection with the example flow of FIG. 5 .Further, the system may generate an additional consumption rate(s) basedon the historical consumption rate(s) of the user and/or of other users.For instance, if the confidence level of the actual consumption rate islow for a reason (e.g., not enough amount of sensor data, accuracy ofthe sensor data is low, etc.), the computer system may turn to thehistorical consumption rate of the user for another item of the sametype and/or the historical consumption rate of other users for the sameitem or for items of the same type. Each of the historical consumptionrates and the actual consumption rate may be associated with a weightstored in the user profile. For example, the weights may change overtime and may be expressed as a function (e.g., the inverse) of thecorresponding confidence levels. The computer system may generate aconsumption rate of the item by the user by weighing the actualconsumption rate and the historical consumption rate(s) according to theweights and combining (e.g., summing and normalizing) these weightedconsumption rates. In turn, this generated consumption rate may beassociated with a confidence level (e.g., as a function of thecorresponding confidence levels) and if that confidence level exceedsthe confidence threshold, the computer system may proceed with theexample flow of FIG. 6 .

At operation 604, the computer system may identify a default deliverymethod for the item. In an example, information about the defaultdelivery method may be stored in the user profile and may identify thisdelivery method and the associated delivery time frame. The user profilemay also associate the default delivery method with a regularconsumption rate of the item (e.g., by tagging the default deliverymethod with an identifier of the regular consumption rate). This regularconsumption rate may describe a regular consumption of the item (e.g.,may show a consumption curve about how the amount of item is typicallyconsumed over time) and may be generated based on the historicalconsumption rates by other users of the item or of items of the sametype. In this way, the regular consumption rate may represent a model ofthe regular consumption and may be used as a benchmark against which theconsumption rate of the item by the user is measured.

At operation 606, the computer system may determine a slope of theconsumption rate of the item by the user. For example, the computersystem may track how the curve of the consumption rate changes overtime. Changes in the curve may indicate the slope of the consumptionrate.

At operation 608, the computer system may determine whether the slopeindicates an increase, decrease, or regular consumption of the item bythe user. For example, once the estimated amount of the item based onthe latest sensor data indicates that this amount is less than thethreshold amount, the computer system may consider the slope of theconsumption rate at that point in time. The computer system may comparethis slope to the slope of the regular consumption rate around thethreshold amount to identify any deviation. If the deviation indicatesthat the slope of the consumption rate is larger than that of theregular consumption rate, the computer system may determine that theconsumption by the user is faster than the regular consumption (e.g., arelative increase) and may perform operation 610 to select anaccelerated delivery method relative to the default delivery method. Ifthe deviation indicates that the slope of the consumption rate issmaller than that of the regular consumption rate, the computer systemmay determine that the consumption by the user is slower than theregular consumption (e.g., a relative decrease) and may performoperation 612 to select a decelerated delivery method relative to thedefault delivery method. If the deviation indicates that the slope ofthe consumption rate is relatively similar to that of the regularconsumption rate, the computer system may determine that the consumptionby the user is also regular and may perform operation 614, whereby thecomputer system may not change the default delivery method.

At operation 610, the computer system may change the selected deliverymethod from the default delivery method to the accelerated deliverymethod based on a determination at operation 608 that the slopeindicates an increase in the consumption of the amount of the item. Inan example, various selection factors may be used including timing andcost factors for selecting the accelerated delivery method, similarly towhat is described in connection with the example flow of FIG. 5 . Theaccelerated delivery method may have a shorter delivery time frame thanthe default delivery method. The computer system may store informationabout the switch to the accelerated delivery method in the user profile.

At operation 612, the computer system may change the selected deliverymethod from the default delivery method to the decelerated deliverymethod based on a determination at operation 608 that the slopeindicates a decrease in the consumption of the amount of the item. In anexample, various selection factors may be used including timing and costfactors for selecting the decelerated delivery method, similarly to whatis described in connection with the example flow of FIG. 5 . Thedecelerated delivery method may have a longer delivery time frame thanthe default delivery method. The computer system may store informationabout the switch to the decelerated delivery method in the user profile.

At operation 614, the computer system may maintain the default deliverymethod as the selected delivery method based on a determination atoperation 608 that the slope indicates a regular consumption of theamount of the item. The computer system may store information about thisdecision not to change the default delivery method in the user profile.

At operation 616, the computer system may update the user profile. Asdescribed above in connection with operations 610-614, the computersystem may store, in the user profile, information about the switch tothe accelerated or decelerated method or about the decision to maintainusage of the default delivery method. In addition, if there is a switchfrom the default delivery method, the computer system may send anotification about an initiation of the accelerated or decelerateddelivery method to the user device and/or to the user's electronicaddress.

FIG. 7 illustrates an example detailed flow for selecting a seconddelivery method after an initiation of a first delivery method based onsensor data of the ARD indicating a change to the consumption rate afterthe initiation, in accordance with at least one embodiment. In thisexample, the first delivery method may have been selected based on theconsumption rate as described in connection with FIGS. 5 and 6 .However, subsequent sensor data received from the ARD may indicate asignificant change to the consumption rate of the item by the item(e.g., a sudden spike in the consumed amount). Based on this change, ifthe user may run out of the item prior to the delivery of the firstreplacement amount using the first delivery method, a second replacementamount may be shipped with the second delivery method, where this seconddelivery method is relative faster than the first one. In this way, theuser may receive the second replacement amount prior to therun-out-date.

The example flow of FIG. 7 may start at operation 702, where thecomputer system may update the consumption rate of the item by the user(e.g., the amount of the item stored by the ARD) based on additionalsensor data received from the ARD after an initiation of a delivery of afirst replacement amount of the item. This delivery may rely on a firstdelivery method selected by the computer system as described inconnection with FIGS. 5 and 6 . In an example, the computer system maykeep monitoring and updating the consumption rate after the initiationof the delivery by receiving the additional sensor data from the ARD.

At operation 704, the computer system may determine, based on theupdated consumption rate, that the amount of the item stored by the ARDwill be depleted prior to a completion of the delivery of the firstreplacement amount. For example, the first delivery method may beassociated with a first delivery time frame, which may be stored in theuser profile. The computer system may predict an updated run-out-datefrom the updated consumption rate. The trigger to this prediction may bea significant change to the slope of the curve of the consumption rate(e.g., significant change may be defined as a change in the slope thatexceeds a predefined threshold). If the updated run-out-date occursprior to the first delivery time frame, the computer system may predictthe depletion prior to the completion of the delivery of the firstreplacement amount.

At operation 706, the computer system may select a second deliverymethod that is faster than the first delivery method. In an example, thesecond delivery method may be used to deliver a second replacementamount of the item prior to the updated run-out-date. Multiple selectionfactors may be used to select this accelerated second delivery method,including timing and cost factors similar to what is described inconnection with FIGS. 5 and 6 . Further, multiple amount factors may beused to select the second amount. In an example, an amount factor may bedepend on a replacement strategy. For instance, a strategy may be todeliver a full replacement amount (e.g., equal or larger than thecapacity storage capacity of the ARD). Accordingly, the secondreplacement amount may be the same as the first replacement amount andmay equal the full replacement amount. Another strategy may be todeliver a gap amount until the first replacement amount is delivered.Under this strategy, the computer system may determine the durationbefore the second delivery time frame and the first delivery time frame,and based on the updated consumption rate (e.g., its updated slope) or ahistorical regular consumption date, may estimate the amount that willbe consumed during that duration. The computer system may set the secondreplacement amount to be equal or substantially equal (e.g., with a tenpercent margin) of that estimated amount. In this way, the replacementamount may likely be consumed just in time for the delivery of the firstreplacement amount.

At operation 708, the computer system may send a notification about thesecond delivery. For example, the computer system may send thenotification about an initiation of the second delivery method to theuser device and/or to the user's electronic address. The notificationmay provide various options for accepting, canceling, or postponing thedelivery of the first replacement amount and/or the second replacementamount. For instance, the notification as presented on a user interfaceof the user device, may include a selectable option to accept or canceldelivery of the second replacement amount. If the second replacementamount is the full replacement amount, the notification as presented onthe user interface, may further include a selectable option to accept,cancel, and/or postpone the delivery of the first replacement amount.

At operation 710, the computer system may update the first deliverybased on the second delivery. For example, if a user selection of aselectable option(s) from the notification is received, the computersystem may manage the first delivery accordingly. In particular, if theuser selection indicates a cancelation or a postponement of the firstdelivery, the computer system may generate delivery instructions tore-route the first delivery from the user location to a new destination(e.g., to another user who has an ARD storing the item or who needs thefirst replenishment amount, or to the closest fulfilment center given acurrent location of the first replacement amount). In another example,if the user selection indicates the cancelation of the first delivery,the computer system may send a return notification (e.g., printablereturn label) to the user device and/or the user's electronic address ormay send a return container (e.g., a labeled delivery package) with thesecond replacement amount. The return container may be used by the userto return the first replacement amount when received. Information aboutthe update(s) to the first delivery method may be distributed to theback-end system to manage the allocation of the delivery resources.

FIG. 8 illustrates aspects of an example environment 800 forimplementing aspects in accordance with various embodiments. As will beappreciated, although a Web-based environment is used for purposes ofexplanation, different environments may be used, as appropriate, toimplement various embodiments. The environment includes an electronicclient device 802, which can include any appropriate device operable tosend and receive requests, messages, or information over an appropriatenetwork 804 and convey information back to a user of the device.Examples of such client devices include personal computers, cell phones,handheld messaging devices, laptop computers, set-top boxes, personaldata assistants, electronic book readers, and the like. The network caninclude any appropriate network, including an intranet, the Internet, acellular network, a local area network, or any other such network orcombination thereof. Components used for such a system can depend atleast in part upon the type of network and/or environment selected.Protocols and components for communicating via such a network are wellknown and will not be discussed herein in detail. Communication over thenetwork can be enabled by wired or wireless connections and combinationsthereof. In this example, the network includes the Internet, as theenvironment includes a Web server 806 for receiving requests and servingcontent in response thereto, although for other networks an alternativedevice serving a similar purpose could be used as would be apparent toone of ordinary skill in the art.

The illustrative environment includes at least one application server808 and a data store 810. It should be understood that there can beseveral application servers, layers, or other elements, processes, orcomponents, which may be chained or otherwise configured, which caninteract to perform tasks such as obtaining data from an appropriatedata store. As used herein the term “data store” refers to any device orcombination of devices capable of storing, accessing, and retrievingdata, which may include any combination and number of data servers,databases, data storage devices, and data storage media, in anystandard, distributed, or clustered environment. The application servercan include any appropriate hardware and software for integrating withthe data store as needed to execute aspects of one or more applicationsfor the client device, handling a majority of the data access andbusiness logic for an application. The application server providesaccess control services in cooperation with the data store and is ableto generate content such as text, graphics, audio, and/or video to betransferred to the user, which may be served to the user by the Webserver in the form of HyperText Markup Language (“HTML”), ExtensibleMarkup Language (“XML”), or another appropriate structured language inthis example. The handling of all requests and responses, as well as thedelivery of content between the client device 802 and the applicationserver 808, can be handled by the Web server. It should be understoodthat the Web and application servers are not required and are merelyexample components, as structured code discussed herein can be executedon any appropriate device or host machine as discussed elsewhere herein.

The data store 810 can include several separate data tables, databasesor other data storage mechanisms and media for storing data relating toa particular aspect. For example, the data store illustrated includesmechanisms for storing production data 812 and user information 816,which can be used to serve content for the production side. The datastore also is shown to include a mechanism for storing log data 814,which can be used for reporting, analysis, or other such purposes. Itshould be understood that there can be many other aspects that may needto be stored in the data store, such as for page image information andto access right information, which can be stored in any of the abovelisted mechanisms as appropriate or in additional mechanisms in the datastore 810. The data store 810 is operable, through logic associatedtherewith, to receive instructions from the application server 808 andobtain, update or otherwise process data in response thereto. In oneexample, a user might submit a search request for a certain type ofitem. In this case, the data store might access the user information toverify the identity of the user and can access the catalog detailinformation to obtain information about items of that type. Theinformation then can be returned to the user, such as in a resultslisting on a Web page that the user is able to view via a browser on theuser device 802. Information for a particular item of interest can beviewed in a dedicated page or window of the browser.

Each server typically will include an operating system that providesexecutable program instructions for the general administration andoperation of that server and typically will include a computer-readablestorage medium (e.g., a hard disk, random access memory, read onlymemory, etc.) storing instructions that, when executed by a processor ofthe server, allow the server to perform its intended functions. Suitableimplementations for the operating system and general functionality ofthe servers are known or commercially available and are readilyimplemented by persons having ordinary skill in the art, particularly inlight of the disclosure herein.

The environment in one embodiment is a distributed computing environmentutilizing several computer systems and components that areinterconnected via communication links, using one or more computernetworks or direct connections. However, it will be appreciated by thoseof ordinary skill in the art that such a system could operate equallywell in a system having fewer or a greater number of components than areillustrated in FIG. 8 . Thus, the depiction of the system 800 in FIG. 8should be taken as being illustrative in nature and not limiting to thescope of the disclosure.

The various embodiments further can be implemented in a wide variety ofoperating environments, which in some cases can include one or more usercomputers, computing devices or processing devices which can be used tooperate any of a number of applications. User or client devices caninclude any of a number of general purpose personal computers, such asdesktop or laptop computers running a standard operating system, as wellas cellular, wireless, and handheld devices running mobile software andcapable of supporting a number of networking and messaging protocols.Such a system also can include a number of workstations running any of avariety of commercially-available operating systems and other knownapplications for purposes such as development and database management.These devices also can include other electronic devices, such as dummyterminals, thin-clients, gaming systems, and other devices capable ofcommunicating via a network.

Most embodiments utilize at least one network that would be familiar tothose skilled in the art for supporting communications using any of avariety of commercially-available protocols, such as TransmissionControl Protocol/Internet Protocol (“TCP/IP”), Open SystemInterconnection (“OSI”), File Transfer Protocol (“FTP”), Universal Plugand Play (“UpnP”), Network File System (“NFS”), Common Internet FileSystem (“CIFS”), and AppleTalk. The network can be, for example, a localarea network, a wide-area network, a virtual private network, theInternet, an intranet, an extranet, a public switched telephone network,an infrared network, a wireless network, and any combination thereof.

In embodiments utilizing a Web server, the Web server can run any of avariety of server or mid-tier applications, including Hypertext TransferProtocol (“HTTP”) servers, FTP servers, Common Gateway Interface (“CGI”)servers, data servers, Java servers, and business application servers.The server(s) also may be capable of executing programs or scripts inresponse to requests from user devices, such as by executing one or moreWeb applications that may be implemented as one or more scripts orprograms written in any programming language, such as Java®, C, C#, orC++, or any scripting language, such as Perl, Python, or TCL, as well ascombinations thereof. The server(s) may also include database servers,including without limitation those commercially available from Oracle®,Microsoft®, Sybase®, and IBM®.

The environment can include a variety of data stores and other memoryand storage media as discussed above. These can reside in a variety oflocations, such as on a storage medium local to (and/or resident in) oneor more of the computers or remote from any or all of the computersacross the network. In a particular set of embodiments, the informationmay reside in a storage-area network (“SAN”) familiar to those skilledin the art. Similarly, any necessary files for performing the functionsattributed to the computers, servers, or other network devices may bestored locally and/or remotely, as appropriate. Where a system includescomputerized devices, each such device can include hardware elementsthat may be electrically coupled via a bus, the elements including, forexample, at least one central processing unit (“CPU”), at least oneinput device (e.g., a mouse, keyboard, controller, touch screen, orkeypad), and at least one output device (e.g., a display device,printer, or speaker). Such a system may also include one or more storagedevices, such as disk drives, optical storage devices, and solid-statestorage devices such as random access memory (“RAM”) or read-only memory(“ROM”), as well as removable media devices, memory cards, flash cards,etc.

Such devices also can include a computer-readable storage media reader,a communications device (e.g., a modem, a network card (wireless orwired)), an infrared communication device, etc.), and working memory asdescribed above. The computer-readable storage media reader can beconnected with, or configured to receive, a computer-readable storagemedium, representing remote, local, fixed, and/or removable storagedevices as well as storage media for temporarily and/or more permanentlycontaining, storing, transmitting, and retrieving computer-readableinformation. The system and various devices also typically will includea number of software applications, modules, services, or other elementslocated within at least one working memory device, including anoperating system and application programs, such as a client applicationor Web browser. It should be appreciated that alternate embodiments mayhave numerous variations from that described above. For example,customized hardware might also be used and/or particular elements mightbe implemented in hardware, software (including portable software, suchas applets), or both. Further, connection to other computing devicessuch as network input/output devices may be employed.

Storage media computer readable media for containing code, or portionsof code, can include any appropriate media known or used in the art,including storage media and communication media, such as but not limitedto volatile and non-volatile, removable and non-removable mediaimplemented in any method or technology for storage and/or transmissionof information such as computer readable instructions, data structures,program modules, or other data, including RAM, ROM, ElectricallyErasable Programmable Read-Only Memory (“EEPROM”), flash memory or othermemory technology, Compact Disc Read-Only Memory (“CD-ROM”), digitalversatile disk (DVD), or other optical storage, magnetic cassettes,magnetic tape, magnetic disk storage, or other magnetic storage devices,or any other medium which can be used to store the desired informationand which can be accessed by a system device. Based on the disclosureand teachings provided herein, a person of ordinary skill in the artwill appreciate other ways and/or methods to implement the variousembodiments.

The specification and drawings are, accordingly, to be regarded in anillustrative rather than a restrictive sense. It will, however, beevident that various modifications and changes may be made thereuntowithout departing from the broader spirit and scope of the disclosure asset forth in the claims.

Other variations are within the spirit of the present disclosure. Thus,while the disclosed techniques are susceptible to various modificationsand alternative constructions, certain illustrated embodiments thereofare shown in the drawings and have been described above in detail. Itshould be understood, however, that there is no intention to limit thedisclosure to the specific form or forms disclosed, but on the contrary,the intention is to cover all modifications, alternative constructions,and equivalents falling within the spirit and scope of the disclosure,as defined in the appended claims.

The use of the terms “a” and “an” and “the” and similar referents in thecontext of describing the disclosed embodiments (especially in thecontext of the following claims) are to be construed to cover both thesingular and the plural, unless otherwise indicated herein or clearlycontradicted by context. The terms “comprising,” “having,” “including,”and “containing” are to be construed as open-ended terms (i.e., meaning“including, but not limited to,”) unless otherwise noted. The term“connected” is to be construed as partly or wholly contained within,attached to, or joined together, even if there is something intervening.Recitation of ranges of values herein are merely intended to serve as ashorthand method of referring individually to each separate valuefalling within the range, unless otherwise indicated herein and eachseparate value is incorporated into the specification as if it wereindividually recited herein. All methods described herein can beperformed in any suitable order unless otherwise indicated herein orotherwise clearly contradicted by context. The use of any and allexamples, or exemplary language (e.g., “such as”) provided herein, isintended merely to better illuminate embodiments of the disclosure anddoes not pose a limitation on the scope of the disclosure unlessotherwise claimed. No language in the specification should be construedas indicating any non-claimed element as essential to the practice ofthe disclosure.

Disjunctive language such as the phrase “at least one of X, Y, or Z,”unless specifically stated otherwise, is intended to be understoodwithin the context as used in general to present that an item, term,etc., may be either X, Y, or Z, or any combination thereof (e.g., X, Y,and/or Z). Thus, such disjunctive language is not generally intended to,and should not, imply that certain embodiments require at least one ofX, at least one of Y, or at least one of Z to each be present.

Preferred embodiments of this disclosure are described herein, includingthe best mode known to the inventors for carrying out the disclosure.Variations of those preferred embodiments may become apparent to thoseof ordinary skill in the art upon reading the foregoing description. Theinventors expect skilled artisans to employ such variations asappropriate and the inventors intend for the disclosure to be practicedotherwise than as specifically described herein. Accordingly, thisdisclosure includes all modifications and equivalents of the subjectmatter recited in the claims appended hereto as permitted by applicablelaw. Moreover, any combination of the above-described elements in allpossible variations thereof is encompassed by the disclosure unlessotherwise indicated herein or otherwise clearly contradicted by context.

All references, including publications, patent applications, andpatents, cited herein are hereby incorporated by reference to the sameextent as if each reference were individually and specifically indicatedto be incorporated by reference and were set forth in its entiretyherein.

What is claimed is:
 1. A system, comprising: an automatic replenishingdevice (ARD) comprising a sensor; and a computer system communicativelycoupled with the ARD and comprising one or more processors and one ormore memory, the one or more memory storing instructions that, uponexecution by the one or more processors, configure the computer systemto: receive, from the ARD, sensor data generated by the sensor andindicating an amount of an item stored by the ARD, the sensor data beinggenerated or received at a data collection frequency that is based atleast in part on a consumption rate of the item and a power source ofthe ARD; store, based at least in part on the sensor data, consumptiondata indicating the consumption rate; determine a plurality of availabledelivery methods for a delivery of a replacement amount of the item;select a delivery method from the plurality of available deliverymethods based at least in part on the consumption rate; generate anindication that the delivery method is to be used for the delivery ofthe replacement amount of the item; receive, from the ARD, additionalsensor data, indicating an updated amount of the item, the additionalsensor data being received at a larger data collection frequency basedat least in part on the updated amount being smaller than the amount ofthe item stored by the device; and determining an updated consumptionrate based at least in part on the additional sensor data.
 2. The systemof claim 1, wherein the execution of the instructions further configuresthe computer system to: determine, based at least in part on theadditional sensor data, that the amount of the item stored by the ARDwill be depleted prior to a completion of the delivery, wherein theadditional sensor data is received after initiation of the delivery;select a different delivery method from the plurality of availabledelivery methods; and cause a second delivery of a second replacementamount of the item based at least in part on the different deliverymethod.
 3. The system of claim 2, wherein the execution of theinstructions further configures the computer system to: determine, basedat least in part on the additional sensor data, that the consumptionrate has decreased, wherein the additional sensor data is received afterthe delivery method is selected; select a different delivery method fromthe plurality of available delivery methods; and generate anotherindication that the different delivery method is to be used to deliverthe replacement amount.
 4. The system of claim 1, wherein the executionof the instructions further configures the computer system to: send anotification about the replacement amount to a user device associatedwith the ARD, the notification comprising an option to initiate a returnof the replacement amount; receive a selection of the option; andgenerate another indication that a pickup of the replacement amount isto be performed.
 5. A computer-implemented method, comprising:receiving, from a device, sensor data generated by a sensor of thedevice and indicating an amount of an item stored by the device, thesensor data being generated or received at a data collection frequencythat is based at least in part on a consumption rate of the item and apower source of the device; storing, based at least in part on thesensor data, consumption data indicating the consumption rate;determining a plurality of available delivery methods for a delivery ofa replacement amount of the item; selecting a delivery method from theplurality of available delivery methods based at least in part on theconsumption rate; generating an indication that the delivery method isto be used for the delivery of the replacement amount of the item;receiving, from the device, additional sensor data indicating an updatedamount of the item, the additional sensor data being received at alarger data collection frequency based at least in part on the updatedamount being smaller than the amount of the item stored by the device;and determining an updated consumption rate based at least in part onthe additional sensor data.
 6. The computer-implemented method of claim5, wherein the item is associated with a default delivery method, andwherein selecting the delivery method comprises: determining, based atleast in part on the consumption data, a slope of the consumption rate;and selecting the delivery method as an accelerated delivery methodrelative to the default delivery method based at least in part on adetermination that the slope indicates an increase in consumption of theamount of the item.
 7. The computer-implemented method of claim 5,wherein the item is associated with a default delivery method, andwherein selecting the delivery method comprises: determining, based atleast in part on the consumption data, a slope of the consumption rate;and selecting the delivery method as a decelerated delivery methodrelative to the default delivery method based at least in part on adetermination that the slope indicates a decrease in consumption of theamount of the item.
 8. The computer-implemented method of claim 5,wherein the item is associated with a default delivery method, andwherein selecting the delivery method comprises: determining, based atleast in part on the consumption data, a slope of the consumption rate;and selecting the delivery method as the default delivery method basedat least in part on a determination that the slope indicates a regularconsumption of the amount of the item.
 9. The computer-implementedmethod of claim 5, further comprising: determining, based at least inpart on the additional sensor data, that the amount of the item storedby the device will be depleted prior to a completion of the delivery,wherein the additional sensor data is received after initiation of thedelivery; selecting a second delivery method from the plurality ofavailable delivery methods, the second delivery method being faster thanthe delivery method; and causing a second delivery of a secondreplacement amount based at least in part on the second delivery method.10. The computer-implemented method of claim 9, further comprising:sending a notification about the replacement amount and the secondreplacement amount to a user device associated with the device, thenotification comprising an option to initiate a return of thereplacement amount.
 11. The computer-implemented method of claim 5,further comprising: determining that the amount of the item stored bythe device is less than a threshold amount; and comparing, based atleast in part on the amount being less than the threshold amount, theconsumption rate to an expected consumption rate, wherein the deliverymethod is selected based at least in part on the comparing.
 12. Thecomputer-implemented method of claim 5, further comprising: storing, ina profile associated with the device and with a user device, indicationof the delivery method, the profile further storing the consumptiondata; and sending a notification about an initiation of the delivery tothe user device.
 13. One or more non-transitory computer-readablestorage media storing instructions that, upon execution on a computersystem, cause the computer system to perform operations comprising:receiving, from a device, sensor data generated by a sensor of thedevice and indicating an amount of an item stored by the device, thesensor data being generated or received at a data collection frequencythat is based at least in part on a consumption rate of the item and apower source of the device; storing, based at least in part on thesensor data, consumption data indicating the consumption rate;determining a plurality of available delivery methods for a delivery ofa replacement amount of the item; selecting a delivery method from theplurality of available delivery methods based at least in part on theconsumption rate; generating an indication that the delivery method isto be used for the delivery of the replacement amount of the item;receiving, from the device, additional sensor data indicating an updatedamount of the item, the additional sensor data being received at alarger data collection frequency based at least in part on the updatedamount being smaller than the amount of the item stored by device; anddetermining an updated consumption rate based at least in part on theadditional sensor data.
 14. The one or more non-transitorycomputer-readable storage media of claim 13, wherein the delivery methodis to a user location.
 15. The one or more non-transitorycomputer-readable storage media of claim 13, wherein the operationsfurther comprising: determining, based at least in part on the updatedconsumption rate, that the updated amount of the item will be depletedprior to a completion of the delivery; selecting a faster deliverymethod from the plurality of available delivery methods; and causing asecond delivery of a second replacement amount of the item based atleast in part on the faster delivery method.
 16. The one or morenon-transitory computer-readable storage media of claim 15, furthercomprising: causing the delivery of the replacement amount of the itemto be re-routed from a first to a second location based at least in parton an initiation of the second delivery.
 17. The one or morenon-transitory computer-readable storage media of claim 13, wherein theoperations further comprise: determining a historical consumption rateassociated with at least one of: a user account associated with thedevice, other user accounts, or a type of the item; generated a weightedconsumption rate based at least in part on a first weight applied to theconsumption rate; and generating a weighted historical consumption ratebased at least in part on a second weight applied to the historicalconsumption rate, wherein the delivery method is selected based at leastin part on the weighted consumption rate and the weighted historicalconsumption rate.
 18. The one or more non-transitory computer-readablestorage media of claim 13, wherein the operations further comprise:determining, based at least in part on historical consumption rates,that the consumption rate is predictable with a confidence level,wherein the delivery method is selected based at least in part theconfidence level.
 19. The one or more non-transitory computer-readablestorage media of claim 13, wherein the operations further comprise:sending, to a user device associated with the device, a notificationabout an initiation of the delivery of the replacement amount; andreceiving, from the device, a confirmation indication that the deliveryis to be performed.
 20. The one or more non-transitory computer-readablestorage media of claim 13, wherein the sensor data comprises anidentifier of the device and raw data, wherein the consumption data isstored in a profile, wherein the profile stores an association betweenthe identifier of the device and the item, and wherein the raw datacomprises at least one or more of: weight data or optical data.